package com.xr.common.bean;

import java.util.List;

/**
 * 方法执行结果
 * .
 * @author cjx
 * @date 2012-4-29下午08:43:34
 * @param <T>
 */
public class Ret<T> {
	
	/**
	 * 成功/失败
	 * .
	 */
	private boolean suc;
	
	/**
	 * 编码
	 * .
	 */
	private String code;
	
	/**
	 * 信息
	 * .
	 */
	private String msg;
	
	/**
	 * 对象
	 * .
	 */
	private T obj;
	
	/**
	 * 对象list
	 * .
	 */
	private List<T> objs;

	public boolean isSuc() {
		return suc;
	}

	public void setSuc(boolean suc) {
		this.suc = suc;
	}

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public String getMsg() {
		return msg;
	}

	public void setMsg(String msg) {
		this.msg = msg;
	}

	public T getObj() {
		return obj;
	}

	public void setObj(T obj) {
		this.obj = obj;
	}

	public List<T> getObjs() {
		return objs;
	}

	public void setObjs(List<T> objs) {
		this.objs = objs;
	}
}
